#include<stdio.h>
#include<string.h>
#include<unistd.h>
int main(){
    const char*fstr="hello fwrite\n";
    const char*str="hello write\n";
    printf("hello printf\n");
    sleep(2);
    fprintf(stdout,"hello fprintf\n");
    sleep(2);
    fwrite(fstr,strlen(fstr),1,stdout);
    //close(1);
    sleep(2);

    write(1,str,strlen(str));
    sleep(5);
    //fork();
    return 0;
}
